package com.jushu.storbox.adapter;

import java.util.Comparator;
import java.util.List;

import com.jushu.storbox.operation.group.BasicItemOperation;

public abstract class ListDisplayResolveAdapter<DataType, 
									  OperationType extends BasicItemOperation<DataType>> 
				extends AbsTemplateAdapter<DataType> {
	
	public static final String TAG = ListDisplayResolveAdapter.class.getSimpleName();
	
	private boolean multiMode = false;
	
	private OperationType operation;
	
	public ListDisplayResolveAdapter(List<DataType> datasList) {
		super(datasList);
	}
	
	public void setMultiMode(boolean multiMode) {
		this.multiMode = multiMode;
	}
	
	public boolean isMultiMode() {
		return this.multiMode;
	}
	
	public OperationType getOperation() {
		return operation;
	}

	public void setOperation(OperationType operation) {
		this.operation = operation;
	}

	protected  Comparator<DataType> getDefaultComparator() {
		return super.getDefaultComparator();
	}
}
